package com.cy.pj.sys.service;

import com.cy.pj.common.pojo.Node;
import com.cy.pj.common.pojo.SysMenu;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public interface SysMenuService {

    int updateObject(SysMenu entity);
    int saveObject(SysMenu entity);

    List<Node> findZtreeMenuNodes();

    int deleteObject(Integer id);

    List<Map<String,Object>> findObjects();
}
